cups: Use non-deprecated API
authorEmmanuele Bassi <ebassi@gnome.org>
Fri, 12 Apr 2019 17:00:02 +0000 (18:00 +0100)
committerMarek Kasik <mkasik@redhat.com>
Tue, 7 May 2019 16:30:47 +0000 (18:30 +0200)
commited31ea37731ca7e4c6ccc1dd577359b9c3a28502
tree06c6409675e831dcb5dce25a52bd632d66b32590
parentfeddf5a6943872f948ace6e48713aa22e7d34697
cups: Use non-deprecated API

The http* family of functions was deprecated after CUPS 1.7. We can
conditionally use it when built against a newer version of CUPS. The
additional parameters are taken directly from the fallback values
inside CUPS itself.
modules/printbackends/gtkcupsutils.c
modules/printbackends/gtkprintbackendcups.c
modules/printbackends/gtkprintercups.c